<template>
  <div>
    <h1>出错啦</h1>
    <p>{{ message }}</p>
    <NuxtLink to="/">回到首页</NuxtLink>
  </div>
</template>

<script setup>
const route = useRoute();
const message = route.query.message || "内部错误";
</script>

<style lang="scss" scoped></style>
